From c22d90cf7759b3f1e9446cfb6c0f9f686d50e46d Mon Sep 17 00:00:00 2001 From: robertlipe Date: Mon, 14 Jan 2013 00:17:15 +0000 Subject: [PATCH] Typo fix in TEF. --- gpsbabel/tef_xml.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/tef_xml.cc b/gpsbabel/tef_xml.cc index ab5244d82..550d0d058 100644 --- a/gpsbabel/tef_xml.cc +++ b/gpsbabel/tef_xml.cc @@ -291,7 +291,7 @@ tef_point(const char *args, const char **attrv) // FIXME: this code should really not be writing into the arg list. while (*avp) { if (strcmp(avp[0], "y") == 0) { - char *tbuf = xstrdup(avp[0]); + char *tbuf = xstrdup(avp[1]); comma = strstr(tbuf, ","); if (comma) { *comma='.'; -- 2.30.2